<div class="masters form">
<?php echo $this->Form->create('Master');?>
	<fieldset>
		<legend><?php __('Edit Master'); ?></legend>
	<?php
		echo $this->Form->input('id');
               echo $this->Form->input('fecha',array('dateFormat' => 'DMY','label'=>'Fecha de Secuestro'));               
			   echo $this->Form->input('states_id',array('label'=>'Estado'));
                echo $this->Form->input('desposits_id',array('label'=>'Depósito'));    
		        echo $this->Form->input('observaciones');   
                //echo $this->Form->input('situations_id');
		//echo $this->Form->input('causes_id');
		//echo $this->Form->input('requests_id');
		//echo $this->Form->input('vehicles_id');
?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
                <li><?php echo $this->Html->link(__('Editar Causa', true), array('controller' => 'causes','action' => 'edit', $master['causes_id']));?></li>		
                <li><?php echo $this->Html->link(__('Editar Vehiculo', true), array('controller' => 'vehicles','action' => 'edit',$master['vehicles_id']));?></li>		
		<li><?php echo $this->Html->link(__('List Masters', true), array('action' => 'index'));?></li>	
<!--                <li><?php //echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Master.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Master.id'))); ?></li>
			
 		<li><?php //echo $this->Html->link(__('List Causes', true), array('controller' => 'causes', 'action' => 'index')); ?> </li>
		<li><?php //echo $this->Html->link(__('New Causes', true), array('controller' => 'causes', 'action' => 'add')); ?> </li>
		<li><?php //echo $this->Html->link(__('List Vehicles', true), array('controller' => 'vehicles', 'action' => 'index')); ?> </li>
		<li><?php //echo $this->Html->link(__('New Vehicles', true), array('controller' => 'vehicles', 'action' => 'add')); ?> </li>
               <li><?php //echo $this->Html->link(__('List Situations', true), array('controller' => 'situations', 'action' => 'index')); ?> </li>
		<li><?php //echo $this->Html->link(__('New Situations', true), array('controller' => 'situations', 'action' => 'add')); ?> </li>
                <li><?php //echo $this->Html->link(__('List Requests', true), array('controller' => 'requests', 'action' => 'index')); ?> </li>
		<li><?php //echo $this->Html->link(__('New Requests', true), array('controller' => 'requests', 'action' => 'add')); ?> </li>-->
	</ul>
</div>